package com.sailing.face.dto;



import java.io.Serializable;

/**
 * 手机客户端返回消息
  * @ClassName: ResponseResult
  * @author Gelei
  * @date
 */
public class ResponseResult implements Serializable{
	
	private static final long serialVersionUID = 3297438248281054463L;
	/**
	 * @Fields RESPONSE_CODE_SUCCESS : 请求成功
	 */
	public static final int RESPONSE_CODE_SUCCESS = 1000;
	/**
	 * @Fields EMPTY_DATA : 数据为空
	 */
	public static final int EMPTY_DATA = 1010;
	/**
	 * @Fields EMPTY_DATA_FACE 没找到人脸
	 */
	public static final int EMPTY_DATA_FACE = 1020;
	/**
	 * @Field RESPONSE_CODE_FAILD : 请求失败
	 */
	public static final int RESPONSE_CODE_FAILD = 9999;
	/**
	 * 状态码
	 */
	private int responseCode;
	/**
	 * 数据内容
	 */
	private Object content;
	/**
	 * 消息内容
	 */
	private String message;


	
	public ResponseResult() {
		
	}
	
	public ResponseResult(int responseCode) {
		this.responseCode = responseCode;
	}
	
	public ResponseResult(int responseCode,String message) {
		this.responseCode = responseCode;
		this.message = message;
	}
	
	public ResponseResult(int responseCode,String message,Object content) {
		this.responseCode = responseCode;
		this.message = message;
		this.content = content;
	}

	public int getResponseCode() {
		return responseCode;
	}

	public void setResponseCode(int responseCode) {
		this.responseCode = responseCode;
	}

	public Object getContent() {
		return content;
	}

	public void setContent(Object content) {
		this.content = content;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
}
